diff --git a/teleport_tube.lua b/teleport_tube.lua
index f4bad74..d236f04 100644
--- a/teleport_tube.lua
+++ b/teleport_tube.lua
@@ -50,6 +50,16 @@ local function read_tube_db()
 	return tp_tube_db
 end
 
+
+-- expose for external batch use (jumpdrive)
+pipeworks.tptube = {
+	hash = hash,
+	save_tube_db = save_tube_db,
+	get_db = function() return tp_tube_db or read_tube_db() end,
+	tp_tube_db_version = tp_tube_db_version
+}
+
+
 -- debug formatter for coordinates used below
 local fmt = function(pos)
 	return pos.x..", "..pos.y..", "..pos.z
